<?php
/**
 * @author jonathan <jo.link.noir@gmail.com>
 * @version 1.0: jo_link_noir
 * @date 18-10-2009
 */
abstract class SW_Element
{
	/** @var int*/
	protected $id;


	/**
	 * @param int $id
	 */
	public function __construct($id)
	{
		$this->id = (int)$id;
	}

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}
}